cmake_minimum_required(VERSION 3.26)
project(FLMS-STM32H750VBT6_W25Q64_WeActStudio C)

set(CMAKE_C_STANDARD 11)

include_directories(RTE)
include_directories(RTE/_STM32H750VBT6_W25Q64_WeActStudio)
include_directories(src)

add_executable(STM32H750VBT6_W25Q64_WeActStudio
        RTE/_STM32H750VBT6_W25Q64_WeActStudio/RTE_Components.h
        src/cmsis_armcc.h
        src/cmsis_compiler.h
        src/core_cm7.h
        src/FlashOS.h
        src/FlashPrg.c
        src/qspi.c
        src/qspi.h
        src/stm32h750xx.h
        src/stm32h7xx.h
        src/sys.c
        src/sys.h
        src/system_stm32h7xx.h
        src/w25qxx.c
        src/w25qxx.h)
